
REGRESS_MODE = False

SLAVE_PASSWORDS = {
    "linux_maint": "linux_maint",
    "linux_vm": "linux_vm",
    "win1_vm": "win1_vm",
    "win2_vm": "win2_vm",
}

SVNREP_BROWSERTESTSMODELS = "http://browsertests.googlecode.com/svn/trunk/BrowserTestsModels"
SVNREP_BROWSERTESTS = "http://browsertests.googlecode.com/svn/trunk/BrowserTests"

# Configure here the Mercurial repository containing all the tests.
HGREP_TESTS = "ssh://browsertest/hg/repos/tests"

MYSQLCHECK_COMMAND = ["mysqlcheck", "-uroot", "-Aao"]

if REGRESS_MODE:
    DB = "--db=browsertests_prod_regress"
else:
    DB = "--db=browsertests_prod"

SETTINGS = "--settings=browsertests.bt_settings"

# keep this in sync with check_regress
TEST_IDS = [
    "unit/crashers/crash_firefox_trunk_20081110.svg",
    "unit/crashers/crash_opera_962_win.html",
    "unit/layouttests/dumpAsText.html",
    "unit/layouttests/dumpChildFrames.html",
    "unit/layouttests/failure.html",
    "unit/layouttests/frameDump.html",
    "unit/layouttests/frameNoDump.html",
    "unit/layouttests/innerText/blank.html",
    "unit/layouttests/innerText/blocks-css.html",
    "unit/layouttests/innerText/blocks.html",
    "unit/layouttests/innerText/br.html",
    "unit/layouttests/innerText/css-dom-read.html",
    "unit/layouttests/innerText/css-selector-text.html",
    "unit/layouttests/innerText/hidden.html",
    "unit/layouttests/innerText/inlines.html",
    "unit/layouttests/innerText/script.html",
    "unit/layouttests/innerText/simple.html",
    "unit/layouttests/innerText/tables-1.html",
    "unit/layouttests/noDumpChildFrames.html",
    "unit/layouttests/notifyDone.html",
    "unit/layouttests/timeout.html",
    "unit/layouttests/waitUntilDoneOnload.html",
    "unit/layout_fail.html",
    "unit/layout_pass.html",
    "unit/reftest:2ec9064e43b7ddd48e95a40ecf08f94d",
    "unit/reftest:59259f892b417b0917b537108dbeeeaa",
    "unit/reftest:a358677320a39f95933c35601cec2cf0",
    "unit/reftest:bae27c26cafeb1f84bfeedb65c79a503",
    "unit/reftest:d11397392461e981585aee60a2241777",
    "unit/test_alerts.html",
    "unit/test_mochi_fail.html",
    "unit/test_mochi_mochikit_json_bug.html",
    "unit/test_mochi_pass.html",
    "unit/vertical_tab.html",
]
TESTS_REGRESS = "--tests=" + ",".join(TEST_IDS)

REFTEST_UPLOAD_RSYNC_TARGET = "browsertests@browsertests:prod"

MAIL_NOTIFIER = False
